package com.xying.dao;

import com.xying.pojo.Attendance;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface AttendanceMapper {
    int deleteByPrimaryKey(String idNo);

    int insert(Attendance record);

    int insertSelective(Attendance record);

    List<Attendance> selectByPrimaryKey(String idNo);

    int updateByPrimaryKeySelective(Attendance record);

    int updateByPrimaryKey(Attendance record);

    int updateByIdAndTime(@Param("idNo") String idNo, @Param("status") boolean status, @Param("createTime") String createTime, @Param("updateTime") Date updateTime);
}